package io.renren.modules.lucky.dao;

import io.renren.modules.lucky.entity.AppUserAddrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * app端-用户-地址信息表
 * 
 * @author chenshun
 * @email chenchen@ashacker.com
 * @date 2019-08-31 20:58:38
 */
@Mapper
public interface AppUserAddrDao extends BaseMapper<AppUserAddrEntity> {
    /** 
     * 更新用户下默认地址为否
     * @param userId
     * @param addrId
     * @author HObOCat
     * @return
     */
    void updateUnDefaultByUser(@Param("userId") String userId, @Param("addrId") String addrId);

}
